package com.example.mapper;

import com.example.domain.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-04-16
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    public Boolean addOrder(Order order);
    public Boolean updateOrder(Order order);

    public Order findById(Integer id);

    public List<Order> selectAll();
    List<Order> selectByBusinessOrder(String business);


}
